package com.qezhhnjy.cloud.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author qezhhnjy
 * @date 2020/7/30-0:03
 */
@FeignClient(value = "eureka-client", fallback = ScheduleServiceHiHystrix.class)
public interface ScheduleServiceHi {

    @GetMapping("/hi")
    String hiFromClient(@RequestParam String name);
}
